package com.lintf.jwt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lintf.jwt.entity.User;
import com.lintf.jwt.entity.UserPermissions;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ system:Window
 * @ author:lin tingfeng
 * @ data:2022/3/15-16:56
 * @ package_name:com.lintf.jwt.dao
 * @ project_name:SpringSecurity-JWT
 * @ desc:用户数据库层
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    List<UserPermissions> selectUserPermissions(String username);

}
